package com.sen.paydemo.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.sen.paydemo.entity.RefundInfo;

/**
 * 退款信息Service
 *
 * @author 韩宗森
 * @since 2023-12-29 17:17:20
 */
public interface RefundInfoService extends IService<RefundInfo> {


    /**
     * 根据订单号和退款原因 创建退款记录
     * @param orderNo
     * @param reason
     * @return
     */
    RefundInfo createRefundByOrderNo(String orderNo, String reason);

    /**
     * 更新退款单
     * @param content
     */
    void updateRefund(String content);
}
